Optimal. Leaf size=580 \[ -\frac{3^{3/4} \left (1-\sqrt{3}\right ) \sqrt [3]{a} \sqrt{e x} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} (a B+8 A b) \text{EllipticF}\left (\cos ^{-1}\left (\frac{\sqrt [3]{a}+\left (1-\sqrt{3}\right ) \sqrt [3]{b} x}{\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x}\right ),\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{16 b^{2/3} e^2 \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3 \sqrt [4]{3} \sqrt [3]{a} \sqrt{e x} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} (a B+8 A b) E\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{8 b^{2/3} e^2 \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{3 \left (1+\sqrt{3}\right ) \sqrt{e x} \sqrt{a+b x^3} (a B+8 A b)}{8 b^{2/3} e^2 \left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )}+\frac{(e x)^{5/2} \sqrt{a+b x^3} (a B+8 A b)}{4 a e^4}-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.591689, antiderivative size = 580, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {453, 279, 329, 308, 225, 1881} \[ -\frac{3^{3/4} \left (1-\sqrt{3}\right ) \sqrt [3]{a} \sqrt{e x} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} (a B+8 A b) F\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{16 b^{2/3} e^2 \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3 \sqrt [4]{3} \sqrt [3]{a} \sqrt{e x} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} (a B+8 A b) E\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{8 b^{2/3} e^2 \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{3 \left (1+\sqrt{3}\right ) \sqrt{e x} \sqrt{a+b x^3} (a B+8 A b)}{8 b^{2/3} e^2 \left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )}+\frac{(e x)^{5/2} \sqrt{a+b x^3} (a B+8 A b)}{4 a e^4}-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 453
Rule 279
Rule 329
Rule 308
Rule 225
Rule 1881
Rubi steps
\begin{align*} \int \frac{\sqrt{a+b x^3} \left (A+B x^3\right )}{(e x)^{3/2}} \, dx &=-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}}+\frac{(8 A b+a B) \int (e x)^{3/2} \sqrt{a+b x^3} \, dx}{a e^3}\\ &=\frac{(8 A b+a B) (e x)^{5/2} \sqrt{a+b x^3}}{4 a e^4}-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}}+\frac{(3 (8 A b+a B)) \int \frac{(e x)^{3/2}}{\sqrt{a+b x^3}} \, dx}{8 e^3}\\ &=\frac{(8 A b+a B) (e x)^{5/2} \sqrt{a+b x^3}}{4 a e^4}-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}}+\frac{(3 (8 A b+a B)) \operatorname{Subst}\left (\int \frac{x^4}{\sqrt{a+\frac{b x^6}{e^3}}} \, dx,x,\sqrt{e x}\right )}{4 e^4}\\ &=\frac{(8 A b+a B) (e x)^{5/2} \sqrt{a+b x^3}}{4 a e^4}-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}}-\frac{(3 (8 A b+a B)) \operatorname{Subst}\left (\int \frac{\left (-1+\sqrt{3}\right ) a^{2/3} e^2-2 b^{2/3} x^4}{\sqrt{a+\frac{b x^6}{e^3}}} \, dx,x,\sqrt{e x}\right )}{8 b^{2/3} e^4}-\frac{\left (3 \left (1-\sqrt{3}\right ) a^{2/3} (8 A b+a B)\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+\frac{b x^6}{e^3}}} \, dx,x,\sqrt{e x}\right )}{8 b^{2/3} e^2}\\ &=\frac{(8 A b+a B) (e x)^{5/2} \sqrt{a+b x^3}}{4 a e^4}+\frac{3 \left (1+\sqrt{3}\right ) (8 A b+a B) \sqrt{e x} \sqrt{a+b x^3}}{8 b^{2/3} e^2 \left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )}-\frac{2 A \left (a+b x^3\right )^{3/2}}{a e \sqrt{e x}}-\frac{3 \sqrt [4]{3} \sqrt [3]{a} (8 A b+a B) \sqrt{e x} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} E\left (\cos ^{-1}\left (\frac{\sqrt [3]{a}+\left (1-\sqrt{3}\right ) \sqrt [3]{b} x}{\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{8 b^{2/3} e^2 \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3^{3/4} \left (1-\sqrt{3}\right ) \sqrt [3]{a} (8 A b+a B) \sqrt{e x} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} F\left (\cos ^{-1}\left (\frac{\sqrt [3]{a}+\left (1-\sqrt{3}\right ) \sqrt [3]{b} x}{\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{16 b^{2/3} e^2 \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}\\ \end{align*}
Mathematica [C] time = 0.0564763, size = 98, normalized size = 0.17 \[ -\frac{4 x^4 \sqrt{a+b x^3} \left (-\frac{a B}{2}-4 A b\right ) \, _2F_1\left (-\frac{1}{2},\frac{5}{6};\frac{11}{6};-\frac{b x^3}{a}\right )}{5 a (e x)^{3/2} \sqrt{\frac{b x^3}{a}+1}}-\frac{2 A x \left (a+b x^3\right )^{3/2}}{a (e x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.062, size = 5736, normalized size = 9.9 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{3} + A\right )} \sqrt{b x^{3} + a}}{\left (e x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B x^{3} + A\right )} \sqrt{b x^{3} + a} \sqrt{e x}}{e^{2} x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 6.57141, size = 100, normalized size = 0.17 \begin{align*} \frac{A \sqrt{a} \Gamma \left (- \frac{1}{6}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, - \frac{1}{6} \\ \frac{5}{6} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 e^{\frac{3}{2}} \sqrt{x} \Gamma \left (\frac{5}{6}\right )} + \frac{B \sqrt{a} x^{\frac{5}{2}} \Gamma \left (\frac{5}{6}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{5}{6} \\ \frac{11}{6} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 e^{\frac{3}{2}} \Gamma \left (\frac{11}{6}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{3} + A\right )} \sqrt{b x^{3} + a}}{\left (e x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]